<%--
  Created by IntelliJ IDEA.
  User: Galle
  Date: 2022/4/14
  Time: 22:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
        String username = (String) session.getAttribute("username");
        if (null == username) {
            out.println("你还没有登录，请");
            out.println("<a href='index.jsp'>登录<a>");
        }
        else {
            out.println("<h2>" + username + "登陆成功！</h2>");
        }
    %>

</body>
</html>
